package cn.mxh.pethspt.entity;
/**
 * 医院表
 *
 */
public class Hospital {
    private Integer hId;//医院id',
    private Integer mId;// '药品id',
    private Integer uId;//'用户id',
    private Integer sId; // '商品id',
    private String hName;//'医院名称',
    private String hAddress;//'医院地址',
    private String hPhone;//'医院联系方式',
    public Hospital(){

    }
    public Hospital(Integer hId, Integer mId, Integer uId, Integer sId, String hName, String hAddress, String hPhone) {
        this.hId = hId;
        this.mId = mId;
        this.uId = uId;
        this.sId = sId;
        this.hName = hName;
        this.hAddress = hAddress;
        this.hPhone = hPhone;
    }

    public Integer gethId() {
        return hId;
    }

    public void sethId(Integer hId) {
        this.hId = hId;
    }

    public Integer getmId() {
        return mId;
    }

    public void setmId(Integer mId) {
        this.mId = mId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getsId() {
        return sId;
    }

    public void setsId(Integer sId) {
        this.sId = sId;
    }

    public String gethName() {
        return hName;
    }

    public void sethName(String hName) {
        this.hName = hName;
    }

    public String gethAddress() {
        return hAddress;
    }

    public void sethAddress(String hAddress) {
        this.hAddress = hAddress;
    }

    public String gethPhone() {
        return hPhone;
    }

    public void sethPhone(String hPhone) {
        this.hPhone = hPhone;
    }

    @Override
    public String toString() {
        return "Hospital{" +
                "hId=" + hId +
                ", mId=" + mId +
                ", uId=" + uId +
                ", sId=" + sId +
                ", hName='" + hName + '\'' +
                ", hAddress='" + hAddress + '\'' +
                ", hPhone='" + hPhone + '\'' +
                '}';
    }
}

